package com.moji.mapper;

import com.moji.entity.UploadFiles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 文件管理 Mapper 接口
 * </p>
 *
 * @author mds.
 * @since 2023-04-19
 */
@Mapper
public interface UploadFilesMapper extends BaseMapper<UploadFiles> {

    /**
     * 获取文件列表
     * @param documentNo
     * @return
     */
    List<UploadFiles> getFilesByDocumentNo(@Param("documentNo") String documentNo);
}
